<!doctype html>
<html>
  <head>
    <meta charset="utf-8">
    <title>Sub iFrame Test</title>
  </head>
  <body>
    <div id="my-text"></div>

    <script src="/dist/localforage.js"></script>
    <script>localforage.setItem('my cool key',
                                'I have been set').then(function() {
        localforage.getItem('my cool key').then(function(value) {
            document.getElementById('my-text').innerHTML = value;
        });
    });</script>
  </body>
</html>
